

<?php
$this->pageTitle=Yii::app()->name . ' - 创建城市';
?>

<div id="coupons">
    <div class="dashboard" id="dashboard">
		<ul>
			<li ><a href="<?php echo $this->createUrl('index'); ?>">城市列表</a><span></span></li>
			<li ><a href="<?php echo $this->createUrl('admin'); ?>">城市管理</a><span></span></li>
			<li class="current"><a href="<?php echo $this->createUrl('create'); ?>">新建城市</a><span></span></li>
		</ul>
	</div>
	<div id="content" class="clear mainwide">
        <div class="clear box">
            <div class="box-top"></div>
            <div class="box-content">
                <div class="head"><h2>新建城市</h2></div>
                <div class="sect">
					<?php $form=$this->beginWidget('CActiveForm', array(
						'id'=>'category-form',
						'enableAjaxValidation'=>false,
					)); ?>
						<div class="field">
							<?php echo $form->labelEx($model,'zone'); ?>
							<?php echo $form->dropDownList($model,'zone',array('city'=>'城市','express'=>'快递公司')); ?>
							<?php echo $form->error($model,'zone'); ?>
						</div>

						<div class="field">
							<?php echo $form->labelEx($model,'name'); ?>
							<?php echo $form->textField($model,'name',array('size'=>32,'maxlength'=>32)); ?>
							<?php echo $form->error($model,'name'); ?>
						</div>

						<div class="field">
							<?php echo $form->labelEx($model,'letter'); ?>
							<?php echo $form->textField($model,'letter',array('size'=>1,'maxlength'=>1)); ?>
							<?php echo $form->error($model,'letter'); ?>
						</div>

						 <div class="field subscribe">
						</div>
						<div class="act">
							<?php echo CHtml::submitButton('创建',array('id'=>"signup-submit",'class'=>"formbutton")); ?>
						</div>
					<?php $this->endWidget(); ?>
					</div>
            </div>
            <div class="box-bottom"></div>
        </div>
	</div>
</div>
